home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
207.233.110.77
/
207.233.110.77.tar
/
207.233.110.77
/
web24
/
Tutorial 6
/
forms.css
< prev
next >
Wrap
Cascading Style Sheet File
|
2011-04-04
|
912b
|
32 lines
/*
New Perspectives on HTML and XHTML 5th Edition
Tutorial 6
Tutorial Case
Web Form Style Sheet
Author: Jose Puentes
Date: 4/4/11
Filename: forms.css
Supporting Files: none
*/
fieldset {margin-bottom: 10px; padding: 10px; background-color: rgb(237,233,223)}
label.blockLabel {display: block; position: relative; margin: 12px 0px}
label.blockLabel input {position: absolute; left: 150px}
label.indentLabel {margin-left: 150px}
#donationForm span {color: red}
#firstName, #lastName, #street {width: 25em}
#phone, #city {width: 10em}
#state {width: 3em}
#zip {width: 7em}
#addressOptions {width: 180px; margin-left: 150px}
#creditCard {position: absolute; left: 150px}
#cardHolder, #cardNumber {width: 25em}
#expMonth {position: absolute; left: 150px}
#expYear {position: absolute; left: 280px}